package com.xinyi.share.weixin.message.receive;
/**
 * 
 * @description 音频消息
 * @author wangchuan
 * @date 2014年7月4日下午11:08:44
 * @version 1.0
 */
public class VoiceReceiveMessage extends ReceiveMessage {
	/**
	 * 媒体ID
	 */
	private String mediaid;
	/**
	 * 格式
	 */
	private String format;
	/**
	 * 语音识别结果，UTF8编码 
	 */
	private String recognition;
	public VoiceReceiveMessage(){}
	
	
	public VoiceReceiveMessage(String msgId, String fromUserName, String toUserName,String mediaid, String format, String recognition, long createTime) {
		super(msgId,video,fromUserName,toUserName,createTime);
		this.mediaid = mediaid;
		this.format = format;
		this.recognition = recognition;
	}


	public String getMediaid() {
		return mediaid;
	}
	public void setMediaid(String mediaid) {
		this.mediaid = mediaid;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public String getRecognition() {
		return recognition;
	}
	public void setRecognition(String recognition) {
		this.recognition = recognition;
	}

	@Override
	public String toString() {
		return "VoiceReceiveMessage [mediaid=" + mediaid + ", format=" + format + ", recognition=" + recognition + ", getMsgId()=" + getMsgId() + ", getMsgType()=" + getMsgType()
				+ ", getFromUserName()=" + getFromUserName() + ", getToUserName()=" + getToUserName() + ", getCreateTime()=" + getCreateTime() + "]";
	}
	
}
